CPUIDLE: Write to ARB_DISABLE conditionally to reduce some idle overheads.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Sep 2008 10:19:17 +0000 (11:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Sep 2008 10:19:17 +0000 (11:19 +0100)
commite4e909d6e2ce5884133b3aaef13dc65fa9d244ba
tree073c2ccf9bef0b3b78e987a4b0a44b9a9abcc4e9
parent88c6403475bd57a7ea6c1b7ba8ac96d66375e18e
CPUIDLE: Write to ARB_DISABLE conditionally to reduce some idle overheads.

By protecting entry/exit with a spinlock we can safely determine
precisely when it is required that we assert/deassert ARB_DISABLE.

Signed-off-by: Wei Gang <gang.wei@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/acpi/cpu_idle.c